$OpenBSD: patch-src_remote_remote_driver_h,v 1.1 2016/06/13 08:36:34 jasper Exp $
--- src/remote/remote_driver.h.orig	Fri May 27 15:17:43 2016
+++ src/remote/remote_driver.h	Fri May 27 15:20:08 2016
@@ -40,8 +40,13 @@ unsigned long remoteVersion(void);
 # define LIBVIRTD_CONFIGURATION_FILE SYSCONFDIR "/libvirt/libvirtd.conf"
 
 /* Defaults for PKI directory. */
-# define LIBVIRT_PKI_DIR SYSCONFDIR "/pki"
-# define LIBVIRT_CACERT LIBVIRT_PKI_DIR "/CA/cacert.pem"
+# ifdef __OpenBSD__
+#  define LIBVIRT_PKI_DIR SYSCONFDIR "/ssl"
+#  define LIBVIRT_CACERT LIBVIRT_PKI_DIR "/cert.pem"
+# else
+#  define LIBVIRT_PKI_DIR SYSCONFDIR "/pki"
+#  define LIBVIRT_CACERT LIBVIRT_PKI_DIR "/CA/cacert.pem"
+# endif
 # define LIBVIRT_CLIENTKEY LIBVIRT_PKI_DIR "/libvirt/private/clientkey.pem"
 # define LIBVIRT_CLIENTCERT LIBVIRT_PKI_DIR "/libvirt/clientcert.pem"
 # define LIBVIRT_SERVERKEY LIBVIRT_PKI_DIR "/libvirt/private/serverkey.pem"
